import { ref } from 'vue';
import { defineStore } from 'pinia';

export const useUserStore = defineStore('user', () => {
  const activeIndex = ref(0);
  const name = ref('');
  const reportShow = ref(false);
  const addevent = ref(false);
  const pushInfo = ref(false)
  const areaInfo = ref([])
  return {
    activeIndex,
    name,
    reportShow,
    addevent,
    pushInfo,
    areaInfo
  };
});